/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.test.publicconsultation.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.List;
import com.google.common.collect.Lists;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * publicconsultationEntity
 * @author 刘高峰
 * @version 2020-10-31
 */
@Data
public class PublicConsultation extends DataEntity<PublicConsultation> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="用户", align=2, sort=1)
	private String user;		// 用户
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="时间", align=2, sort=2)
	private Date time;		// 时间
	@ExcelField(title="内容", align=2, sort=3)
	private String content;		// 内容
	@ExcelField(title="空置", align=2, sort=4)
	private String vacant;		// 空置
	private List<PublicConsultationVice> publicConsultationViceList = Lists.newArrayList();		// 子表列表
	
	public PublicConsultation() {
		super();
	}

	public PublicConsultation(String id){
		super(id);
	}

}